package com.pand.model.station;


import com.pand.model.BaseObject;

import javax.persistence.*;

/**
 * 
 * @ClassName: ServiceArea 
 * @Description: 地区
 *
 */
@Entity
@Table(name = "RES_AREA")
@SequenceGenerator(name = "SeqArea", sequenceName = "SEQ_AREA", allocationSize = 1)
public class ServiceArea extends BaseObject {
	
	/** 
	 * @Fields serialVersionUID : 
	 */ 
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	private Long id;
	
	/**
	 * 所属城市id
	 */
	private String cityId;
	
	/**
	 *  区域名称
	 */
	private String areaName;

	private String longitude;

	private String latitude;

	@Id
	@GeneratedValue(generator = "SeqArea")
	@Column(name = "ID")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "CITY_ID")
	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	@Column(name = "AREA_NAME")
	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	@Column(name="LONGITUDE")
	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	@Column(name="LATITUDE")
	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
}
